#canvass {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* 以下内容用于屏蔽文本选择 */
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Chrome/Safari/Opera */
    -khtml-user-select: none;
    /* Konqueror */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently not supported by any browser */
}

#sc {
    display: flex;
    color: darkorange;
    font-size: 30px;
}

canvas {
    box-shadow: black 20px 10px 50px;
}

#games {
    display: flex;
    flex-direction: row;

}

ul {
    display: flex;
    justify-content: left;
    flex-direction: row;
    list-style-type: none;
    padding: 0;
}

ul li {
    margin-left: 10px;
}

/* 以下为遮罩层样式（规则） */
#rules {
    /* style="display: flex; flex-direction: row;font-size: 18px;font-family: 黑体;" */
    display: flex;
    flex-direction:
        row;
    font-size: 18px;
    font-family: 黑体;
}

.rules_button {
    /* style="width: 30px;height: 100px; writing-mode: vertical-lr;border-radius: 4px;"  */
    width: 30px;
    height: 100px;
    background-color: rgb(0, 86, 128);
    color: rgb(255, 255, 255);
    writing-mode: vertical-lr;
    border-radius: 4px;

}

.black_overlay {
    display: none;
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 1001;
    -moz-opacity: 0.8;
    opacity: .80;
    filter: alpha(opacity=80);
}

.white_content {
    display: none;
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border: 14px solid lightblue;
    background-color: white;
    z-index: 1002;
    overflow: auto;
}

.white_content_small {
    display: none;
    position: absolute;
    top: 20%;
    left: 30%;
    width: 40%;
    height: 50%;
    border: 14px solid lightblue;
    background-color: white;
    z-index: 1002;
    overflow: auto;
}